package demo05ObserverPattern;

/**
 * @author: WangPeng
 * @createTime: 2022/11/09 20:31
 * @description:
 * @version: v1.0
 */
public interface IPublic {
    //关注功能---传递关注的用户
    void add(UserInterface userInterface);
    //取消关注
    void delete(UserInterface userInterface);
    //设置消息
    void setMessage(String message);
    //群发
    void sendAll();
}

